SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8f0e8b9398aac4de24677972d804321632e9ca56e96416051f9c247327d0e2d9' 
  AND token = 'b0Sg0On1XLBjJAVpw9cXw1a/QeGgFH6U6JFAXmxcttg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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