SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8b0f545d82e7fb0ce1fb781e4f707ef2233df838f7b850e93b7b8762ce3c25fd' 
  AND token = 'j18nISrlWup8ch2N3dCSU1LbzAGlPY+eiKCxZ3JLbxY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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