SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a1dc009d2aed501368621f1fc4e167995d20295e62419ddaa924b58ed40015f1' 
  AND token = 'pxXWPrNIFhkTg5AZu9AEu1ktnFaXm/xOd/6I11c/TLk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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