SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'def5f3b60b09467fb080c74bbb57f46ffee7f4a9b9fd3ce0346a41435f7e7976' 
  AND token = 'pMPxcD4fVX6ZH//ZEcMyZ60344HavMfpCW1OLg3QRgs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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