SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8f52b264233889607f88b153eb54350356a7763cbbe9c3d44fff7cea3b5f1eaf' 
  AND token = 'D1uN/VHMFKxaoyZP+kF6PYK7ifqTEUgq28of9oacpRs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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