SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8c0fc6ed7271ab08e173dd9f53573a82d206408545761d884e0d6f645fca7af5' 
  AND token = '5ODbD0LrCuwGH9y6Oq/moI4+IaTwjGpbjzlcKWDQRLc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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