SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4b6afc32f817ea38e0d765e5770d409246d7e581a5122b6d54beca21325079e3' 
  AND token = 'bLsWq6mSEoe5pIETidWImUcjExDAVDkoBsndewJRgRQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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