SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9a6caa538d8b6e23cd161f336f4a44933fd093e56b9e13dcc804767858fbf260' 
  AND token = '/d9sWNb1u7o77drsa8dwQrl/jwnUozbVysn4slBaSDM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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