SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '397f71186f05132fcf955d19f62d02e91906bdf5619451615104a3a43f837b4e' 
  AND token = 'aSBw1t5GF6DCfMDfyM1cp56lzEZGzLs1u9wpG2ZNEeE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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