SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '050249d6f0c1c04927b0a7ba80958d31f26bdabf34e6745820ba632575591d45' 
  AND token = 'UPNXBqLFgozX7z/IOgl7DXHx12Z+LNEHc+SLeEt8864=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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