SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '417903d379fd0a5e3eda8096561c9176fbcae591f3a7da49b132c9d79a769b49' 
  AND token = 'P+oiYrivz7D/YcbjDzrNOVOGz6jX6a2tN4+JEiEYy6U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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