SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2772e092ec6b52bfe84ee231454de81d4d166ab1a588694367ba37fa873db5a9' 
  AND token = 'tfvW+oJlw9TOfroubj8pccquLqjprSEMBMbf9zaO0Gs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}