SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd049e4486b340066bfa5ccb4705fc1071c27b623a3611f44377175bbb524774e' 
  AND token = 'kpZ1xZYQyw2CczaCP0cNLjiHJoNlJca1KbDy1FnbGX8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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