SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c5a1cbef42293e5454ff1c8d30a7e7afda823991608f5151579040e133dd002d' 
  AND token = 'NPAqAzXXcDoga/Itk3kBpcRyRNK/IkhynU4A5DmWxlY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}