SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '04bad7f2d592481f1bbf997426e0e58297fce72d6e9381c7c8a0e542f09dd26b' 
  AND token = 'SnAOZjrSItzKU0eg3+ZOsG/fRjoKX7oBq7tqD6cJPac=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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