SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '74f0f2455d558df2cf7897debd63001dd8fcfdea042167061b6495682f54781d' 
  AND token = 'd8Vqqj//qL/xdWcfxpio3lNxk4lnF9X3DBueSSWLphs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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