SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fb6da32289b92425369166cd193be2e58d9cc50a787b1a415caf70f91891f295' 
  AND token = 'bqG+s7aKo/79371XSPqeQ6/+fWYLIHSNve+145yCmSg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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