SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '784040fd3a33d80fc364c9d2ff1f2f407ecad6d499ebc8ea6792ccf81472c7e2' 
  AND token = 'oorcjVFNHkkBk5GCWb3X5d2ks+5dNWCftTmqzoJGoa0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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