SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5b6beadce0ca88431eb4716e1c262ba10225e20a565d86e45f706e91af1c7474' 
  AND token = 'T0mVA2h86RB/SKzpXz094XyMUYMk3IxEQ1eo37Ljq0M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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