SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '12efb5de909afefb3ab9ed361ca3928f64693e01e0014b926af59768fcc3cbd5' 
  AND token = 'sz7xe9FsMuy3hd2QeddFNxrqE6NE5YegPBEUjgaG6T0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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