SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dd8a8a37b1b9e0768415b46970e77949646337e78f1c05b9ada98e54c8f971f2' 
  AND token = 'wcaiK3xeqVGCF7vMZSKiC1aiOd+Fs7sR9qTO1bdWBjo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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