SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e34c2d0a77233a1609e01628a43044e4007a633d69f7cb00b5ac822d8f51600e' 
  AND token = 'kvuGRDKWeqaimppbE9EvTpxEK8mbSLunc53ZJIrClSs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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