SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0c8ed16b6432254fc6d85ceab24742879242ee41ce0f6148e722db609aa01c12' 
  AND token = '9TbW8RISGhA+naHHZAMja8J9W3ooil+oC4VvSdoSHH0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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